ExamPlay Light Logo
تسجيل الدخول

Computer Science for IGCSE & O level - Programming (Section 15 - No. 5)

If age is 16, what output will the following code produce? ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are an adult
You are a child
The program will throw an error.
No output will be produced.

توضيح

Because 16 is not greater or equal to 17, the ELSE block will be executed.

تعليقات (0)

تسجيل الدخول للتعليق
إعلان
BrainBehindX Inc Logo
©2026; مدعوم من BrainBehindX Inc